package com.zyh.scs.admin.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author hwh
 * @ClassName: 开放接口鉴权$
 * @Description: $
 * @Date $
 * @Version 1.0
 */
@Data
@TableName("scsx_cation")
@Schema(description = "开放接口鉴权表")
public class UserCation implements Serializable {

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键id")
    private Long id;

    /**
     * 商户id
     */
    @TableField("merchant_id")
    @Schema(description = "商户id")
    private String merchantId;

    /**
     * appid
     */
    @TableField("app_id")
    @Schema(description = "appid")
    private String appId;

    /**
     * 版本号
     */
    @TableField("version")
    @Schema(description = "版本号")
    private String version;

    /**
     * callback地址
     */
    @TableField("callback_url")
    @Schema(description = "callback地址")
    private String callbackUrl;

    /**
     * 渠道名称
     */
    @TableField("channel_name")
    @Schema(description = "渠道名称")
    private String channelName;

    /**
     * 渠道类型  1为满客宝  2为京东  3为轨道生活通
     */
    @TableField("channel_type")
    @Schema(description = "渠道类型")
    private Integer channelType;

}
